package demo;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.Scanner;

public class HelloWorld {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("hello.txt");
        fos.write("大家好！".getBytes(StandardCharsets.UTF_8));
        System.out.println("写出完毕");
        fos.close();
        System.out.println("在hot-fix分支上实现了一个功能");
        for(int i=0;i<10;i++){
            System.out.println("大家好！");
        }
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int a=scanner.nextInt();
        for(int i=0;i<a;i++){
            System.out.println("feature-game的新功能输出");
        }
        System.out.println(1);
        System.out.println(1);
        System.out.println(1);
        System.out.println(1);
        System.out.println(1);
        System.out.println(1);
        System.out.println(1);
        System.out.println(1);
        System.out.println(1);
    }

}
